//
//  ZFHeader.h
//  HappyLoan
//
//  Created by zainishenbian on 2017/3/16.
//  Copyright © 2017年 zongqingxiangqian. All rights reserved.
//

#ifndef ZFHeader_h
#define ZFHeader_h

#import "AppDelegate.h"

#import "ZFHomeViewController.h"
#import "ZFMessageViewController.h"
#import "ZFBilViewController.h"
#import "ZFMyViewController.h"
#import "UIViewController+BackButtonHandler.h"

#import "ZFLoginConfig.h"
#import "ZFPulicAPI.h"
#import "ZFHttpTool.h"
#import "ZFFactorUIClass.h"
#import "UIButton+Shadow.h"

#import "ZFHomeHttpRequest.h"
#import "ZFApplyInfoHttpRequest.h"
#import "ZFLoginHttpRequest.h"
#import "ZFMyInfoHttpRequest.h"

#import "AlertBoxView.h"
#import "AnimatingView.h"
#import "Masonry.h"

#import "UMMobClick/MobClick.h"

//#define  SERVERIP @"http://192.168.1.24"//测试IP
#define  SERVERIP @"http://106.15.102.162:8888"//测试IP

#define DEVICEVERSION [[[UIDevice currentDevice] systemVersion] floatValue]//手机系统

#define SCREEN_WIDTH [UIScreen mainScreen].bounds.size.width //屏幕宽度
#define SCREEN_HEIGHT [UIScreen mainScreen].bounds.size.height //屏幕高度
#define SCALEW [UIScreen mainScreen].bounds.size.width/320 //屏幕宽的比例因子
#define SCALEH [UIScreen mainScreen].bounds.size.height/568 //屏幕高的比例因子
#define NAVGATIONBAR_HEIGHT self.navigationController.navigationBar.bounds.size.height //导航栏高度
/*********************请求头基本信息******************************/
#define PUBLIC_KEY   @"040CD66A84025B94CEAC3EC1B49C92D0"//公钥
#define APP_KEY      @"ZQXQ-JSD"//app标识
#define SOURCE       @"2"//用户来源（example:安卓，ios）
#define CLIENT_ID    [[NSUserDefaults standardUserDefaults] objectForKey:@"UDID"]//手机唯一标识
#define CHANNEL      @"appstore"//打包渠道
#define APP_VERSION  @"1.0.0"//版本号

/*******************COLOR************************/

#define RGBA(r,g,b,a) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a]

#define BGCOLOR [UIColor colorWithRed:(240)/255.0 green:(240)/255.0 blue:(240)/255.0 alpha:1.0]//背景色

#define Main_Color1 [UIColor colorWithRed:(251)/255.0 green:(47)/255.0 blue:(47)/255.0 alpha:1.0]//主题色(红色)

#define Main_Color2 [UIColor colorWithRed:(51)/255.0 green:(51)/255.0 blue:(51)/255.0 alpha:1.0]//主题色（黑色）


#endif /* ZFHeader_h */
